package cn.jinjimi.app.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by Rain on 2016/2/25.
 */
public class InfoMenu implements Serializable {
    /* 菜单编码 */
    @SerializedName("code")
    public String code;

    /* 菜单描述/数据 */
    @SerializedName("descr")
    public String descr;

    /* 图标地址 */
    @SerializedName("icon_url")
    public String icon_url;

    /* 红点标记 */
    @SerializedName("is_new")
    public boolean is_new;

    /* 链接路由/地址 */
    @SerializedName("link_url")
    public String link_url;

    /* 标题 */
    @SerializedName("title")
    public String title;

    public String moduleCode;

    public String moduleTitle = null;

    public InfoMenu() {
    }

    public InfoMenu(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "InfoMenu{" +
                "code='" + code + '\'' +
                ", descr='" + descr + '\'' +
                ", icon_url='" + icon_url + '\'' +
                ", is_new=" + is_new +
                ", link_url='" + link_url + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
